package v2

import (
	"server/global"
	"server/router/v1/system"
)

func LoadV1Routers() {
	routerGroup := global.GA_ROUTER.Group("/api/v1")

	system.RegisterCaptchaRoutes(routerGroup)
	system.RegisterUserRoutes(routerGroup)
	system.RegisterRoleRoutes(routerGroup)
	system.RegisterMenuRoutes(routerGroup)
	system.RegisterUserRoleRoutes(routerGroup)
	system.RegisterRoleMenuRoutes(routerGroup)
}
